
#ifndef DESIGN_PATTERNS_ADAPTER_POWERADAPTER_H
#define DESIGN_PATTERNS_ADAPTER_POWERADAPTER_H

#include "PowerSupply.h"

class PowerAdapter : public PowerSupply
{
private:
  Generator* gen_;

public:
  explicit PowerAdapter(Generator* g);

  void Input(Generator* c) override;

  Current* Output() override;

  ~PowerAdapter() override;
};

#endif //DESIGN_PATTERNS_ADAPTER_POWERADAPTER_H
